#pragma once

#include "gtest/gtest.h"

#include "DataStructure/Input/Element/CONM1Data.h"
TEST (CONM1DataTest, FillUperTriangleTest)
{
    // Input
    SG::DataStructure::FEM::CONM1Data conm1 (1);
    conm1.m_m5[3] = 0.8;

    // Test Data
    SG::Algebra::Matrixd mat = conm1.FillUperTriangle ();

    // Check
    ASSERT_EQ (mat (3, 5), conm1.m_m4[4]);
}